#!/bin/sh
echo "deploy jar"
cp ../target/hadoop-study.jar /home/tzeng/hadoop/jar/hadoop-study.jar
echo "deploy run.sh"
cp run.sh /home/tzeng/hadoop/jar/
echo "change authority"
chmod 755 ~/hadoop/jar/run.sh
echo "start run.sh"
~/hadoop/jar/run.sh